package cn.meal.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Menu extends BaseEntity{
    private Integer id;
//    店铺id
    private Integer storeId;
//   菜品父id，默认0 ；无父级
    private Integer parentId;
//    菜单类型
    private Integer menuType;
    private String menuName;
    private BigDecimal price;
//    菜品图片
    private String picture;

    @TableField(exist = false)
    private List<Menu> childMenu;
}
